<template>
  <div>
    <img :src="item.imgUrl" alt="" />
    <div>
      <p>{{ item.name }}</p>
    </div>
    <div>
      <button @click="back">back</button>
    </div>
  </div>
</template>

<script>
export default {
  props: ["item"],
  methods: {
    back() {
      this.$router.back();
    },
  },
};
</script>

<style></style>
